package org.zjj.dao.impl;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;
import org.zjj.dao.NameDao;

@Repository("nameNewDao")
public class NewNameDaoImpl implements NameDao {

    @Value("{newname}")
    private String newname;

    @Value("{newsex}")
    private String newsex;

    @Value("{newage}")
    private int newage;

    @Override
    public void showNameDetail() {
        System.out.println(newname+"---"+newsex+"---"+newage);
    }
}
